package example.springboot.controller;

import example.springboot.mapper.userMapper;
import example.springboot.model.t_user;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

import javax.servlet.http.Cookie;
import javax.servlet.http.HttpServletRequest;

@Controller
public class IndexController {
    @Autowired
    private userMapper userMapper;
    @RequestMapping("/index1")
    public String index(HttpServletRequest request){

        return "redirect:/";
    }
}
